﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DCInward_Details.aspx.cs" Inherits="Main_Inventory_P_inv_Details" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Delivery Challan Display</title>
</head>
<body style="font-family:Arial; font-size:12px">
    <form id="form1" runat="server">
     <%-- //////////////////////////////// ******** Item Label ******** //////////////////////////////////// --%> 
    <asp:Panel ID="pnlitemlabel" runat="server"  Visible="false" style="margin:5px">
        <table cellpadding="0" class="tablebody" cellspacing="0"  width="100%">
            <tr>
                <td align="center" colspan="2"  style="border-style: solid; border-width: 1px; border-color: #C0C0C0">
                    <b>DC Inward</b>
                </td>
            </tr>
            <tr>
                <td width="50%" style="border-style: solid; border-width: 0px 1px 0px 1px; border-color: #C0C0C0">
                    <div style="height:195px; width:100%" >
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="padding-left:5px; height:10px">
                                    Invoice To</td>
                            </tr>
                            <tr>
                                <td style="border-style: solid; border-width: 0px 0px 1px 0px; border-color: #C0C0C0; padding-left:5px; height:80px" 
                                    valign="top">
                                    <asp:Label ID="lblcompanyname" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-left:5px; height:10px">
                                    Supplier&nbsp;&nbsp;<asp:Label ID="lblsuppliername" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="padding-left:5px; height:80px " valign="top">
                                    <asp:Label ID="lblsupplier" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td width="50%" style="border-style: solid; border-width: 0px 1px 0px 0px; border-color: #C0C0C0"  valign="top">
                    <div style="height:195px; width:100%" >
                    <table width="100%" cellpadding="0" cellspacing="0" style="border-left:0px solid #C0C0C0; border-right:1px solid #C0C0C0; border-top:0px solid #C0C0C0; border-bottom:1px solid #C0C0C0;">
                        <tr>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; width:25%;" valign="top"> 
                                DC&nbsp; No&nbsp;
                            </td>
                            <td style="padding-left:5px; border-right:1px solid #C0C0C0;  width:25%;" valign="top">                            
                                &nbsp;
                                <asp:Label ID="lbldcno" runat="server" Font-Bold="True"></asp:Label>
&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; width:25%;" valign="top">
                                Dated&nbsp;
                            </td>
                            <td style="padding-left:5px;  width:25%;"  valign="top">
                                &nbsp;
                                <asp:Label ID="lbldate" runat="server" Font-Bold="True"></asp:Label>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; border-top:1px solid #C0C0C0; width:25%;" valign="top" >
                                Prepared By</td>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; border-top:1px solid #C0C0C0; width:25%;" valign="top" >
                                 &nbsp;
                                 <asp:Label ID="lblpreparedby" runat="server" Font-Bold="True"></asp:Label>
                                 &nbsp;</td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                Checked By</td>
                            <td style="padding-left:5px;  border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                               &nbsp;<asp:Label ID="lblcheckedby" runat="server" Font-Bold="True"></asp:Label> </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                Delivery Date&nbsp; </td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                &nbsp;<asp:Label ID="lbldeliverydate" runat="server" Font-Bold="True"></asp:Label>
                            </td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                Doc No&nbsp; </td>
                            <td style="padding-left:5px; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                &nbsp;
                                <asp:Label ID="lbldocno" runat="server" Font-Bold="True"></asp:Label>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                Transporter Name&nbsp;</td>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                &nbsp;
                                <asp:Label ID="lbltransportername" runat="server" Font-Bold="True"></asp:Label>
                            </td>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" 
                                valign="top">
                                Mode of Delivery&nbsp; </td>
                            <td style="padding-left:5px;  border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                &nbsp;
                                <asp:Label ID="lblmodeofdelivery" runat="server" Font-Bold="True"></asp:Label>
                               </td>
                        </tr>
                        <tr>
                            <td style=" border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  padding-left:5px;" valign="top">
                                Vehicle No&nbsp;
                               </td>
                            <td style="border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                &nbsp;<asp:Label ID="lblvehicleno" runat="server" Font-Bold="True"></asp:Label>
                            </td>
                            <td style="border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                &nbsp;</td>
                            <td style="border-top: 1px solid #C0C0C0; padding-left:5px;">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                    </div>
                    </td>
            </tr>
            <tr>
                <td width="50%" colspan="2" 
                    style="border-style: solid; border-width: 0px 1px 0px 1px; border-color: #C0C0C0; width: 100%">
                    <div id="list" runat="server" width="100%">
                    <table id="TblItems" runat="server" 
                        style="border-top:1px solid;width:100%; height:95%; border-collapse:collapse; border-top-color: #C0C0C0;">
                                    <%--<tr style="height:5%;">
                                        <th style="border-right:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; text-align:center; width:4%;">S.No.</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center; width:16%;">Description of Goods</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Quantity</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Rate</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Per</th>
                                        <th style="text-align:center;border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;width:10%;">Amount</th>
                                        <th style="text-align:center;border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;width:10%;">Tax Type</th>
                                        <th style="text-align:center;border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;width:8%;">Tax Rate</th>
                                        <th style="text-align:center;border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;width:10%;">Tax Amount</th>
                                        <th style="text-align:center;width:12%;border-bottom:1px solid #C0C0C0">Total Amount</th>
                                        </tr>--%> 
                                    
                                         
                                </table>
                                </div>
                                <table  id="tabgrandtotal" runat="server" width="100%" style=" border-collapse:collapse;">
                                <tr>
                                    <td 
                                        style="text-align:right; border-right:1px solid; width:80%; border-style: solid; border-width: 1px 0px 1px 0px; border-color: #C0C0C0;" 
                                        align="right"><b> Grand Total:</b>
                                    </td>
                                    <td style="text-align:right; border-right:1px solid; width:88%; border-style: solid; border-width: 1px 0px 1px 1px; border-color: #C0C0C0;"><b><asp:Label ID="LblGTotal" runat="server"></asp:Label></b></td>
                                    </tr>
                                </table>
                    </td>
            </tr>
             <tr> 
                <td style="width:100%; border-left:1px solid #C0C0C0; border-right:1px solid #C0C0C0;" colspan="2" align="right">
                    E. & O.E
                 </td>
            </tr>
            <tr>
                <td width="50%" valign="top">
                    <table  style=" border-collapse:collapse;">
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 0px 1px; border-color: #C0C0C0; height:85px; padding-left:5px" 
                                valign="top">
                            
                                <table cellpadding="0" cellspacing="0" >
                                    <tr>
                                        <td>
                                            Amount Chargeable (in words)
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblamountinwords" runat="server" Font-Bold="True" ></asp:Label></td>
                                    </tr>
                                </table>
                            
                                </td>
                        </tr>
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 1px 1px; border-color: #C0C0C0; height:85px; padding-left:5px" 
                                valign="top">
                                <table cellpadding="0" cellspacing="0" >
                                    <tr>
                                        <td  style="width:50%">Company's VAT TIN
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;
                                            <asp:Label ID="lblcompanyvat" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                    <tr>
                                        <td  style="width:50%">Company's Service Tax No.
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblcompanyservicetaxno" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                    <%--<tr>
                                        <td  style="width:50%">Buyer's VAT TIN/Sales Tax No.
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblbuyervat" runat="server" ></asp:Label>
                                            </td>
                                    </tr>--%>
                                    <tr>
                                        <td  style="width:50%">Company's PAN
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblcompanypan" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="50%" style="border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;">
                    <table style=" border-collapse:collapse; width:100%;">
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 0px 0px; border-color: #C0C0C0; height:85px; padding-left:5px">                            
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td style="border-style: solid; border-width: 1px; border-color: #C0C0C0; border-bottom:0px;border-right:0px; height:84px; padding-left:5px">
                                <table cellpadding="0" cellspacing="0"  style="height: 60px">
                                    <tr>
                                        <td align="right" valign="top" style="padding-right:5px">&nbsp;
                                            <asp:Label ID="lblcompany" runat="server" ></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="bottom" style="padding-right:5px">
                                            Authorised Signatory</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr><td colspan="2" width="100%"  align="center" style="border:1px solid #C0C0C0; border-top:0px;">This is a Computer Generated Delivery Challan</td></tr>
        </table>
    </asp:Panel>
  
        <%-- /////////////////////////////////////// **** Bill Label **** /////////////////////////////////////////////// --%> 

      <asp:Panel ID="pnlbilllabel" runat="server" Visible="false"  style="margin:5px">
        <table cellpadding="0" class="tablebody" cellspacing="0"  width="100%">
            <tr>
                <td align="center" colspan="2"  style="border-style: solid; border-width: 1px; border-color: #C0C0C0">
                    <b>PURCHASE RECEIVED</b>
                </td>
            </tr>
            <tr>
                <td width="50%" style="border-style: solid; border-width: 0px 1px 0px 1px; border-color: #C0C0C0">
                    <div style="height:195px; width:100%" >
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="padding-left:5px; height:10px">
                                    Invoice To</td>
                            </tr>
                            <tr>
                                <td style="border-style: solid; border-width: 0px 0px 1px 0px; border-color: #C0C0C0; padding-left:5px; height:80px" 
                                    valign="top">
                                    <asp:Label ID="lblcompanyname_b" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-left:5px; height:10px">
                                    Supplier</td>
                            </tr>
                            <tr>
                                <td style="padding-left:5px; height:80px " valign="top">
                                    <asp:Label ID="lbl_b_supplier" runat="server"></asp:Label>&nbsp;&nbsp;<asp:Label ID="lbl_b_suppliername" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td width="50%" style="border-style: solid; border-width: 0px 1px 0px 0px; border-color: #C0C0C0"  valign="top">
                    <div style="height:195px; width:100%" >
                    <table width="100%" cellpadding="0" cellspacing="0" style="border-left:0px solid #C0C0C0; border-top:0px solid #C0C0C0; border-bottom:1px solid #C0C0C0;">
                        <tr>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; width:25%;" valign="top"> 
                                Voucher No&nbsp;
                            </td>
                            <td style="padding-left:5px; border-right:1px solid #C0C0C0;  width:25%;" valign="top">                            
                                <asp:Label ID="lbl_b_vouno" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; width:25%;" valign="top">
                                Dated&nbsp;
                            </td>
                            <td style="padding-left:5px;  width:25%;"  valign="top">
                                <asp:Label ID="lbl_b_date" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; border-top:1px solid #C0C0C0; width:25%;" valign="top" >
                                P O No.&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right:1px solid #C0C0C0; border-top:1px solid #C0C0C0; width:25%;" valign="top" >
                                <asp:Label ID="lbl_b_pono" runat="server"  Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                Invoice No&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                <asp:Label ID="lbl_b_invno" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                Bill Reference&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                <asp:Label ID="lbl_b_billreference" runat="server"  Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style="padding-left:5px;  border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  width:25%;" valign="top">
                                Mode of Payament&nbsp;
                            </td>
                            <td style="padding-left:5px; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                <asp:Label ID="lbl_b_modeofpayment" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                Delivery Date&nbsp;
                            </td>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                <asp:Label ID="lbl_b_deliverydate" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style="padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; width:25%;" 
                                valign="top">
                                Doc No&nbsp;
                               </td>
                            <td style="padding-left:5px;  border-top: 1px solid #C0C0C0; width:25%;" valign="top">
                                <asp:Label ID="lbl_b_docno" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                               </td>
                        </tr>
                        <tr>
                            <td style=" border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;  padding-left:5px;" valign="top">
                                Transporter Name&nbsp;
                               </td>
                            <td style="border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                <asp:Label ID="lbl_b_transportername" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style="border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                Mode of Delivery&nbsp;
                            </td>
                            <td style="border-top: 1px solid #C0C0C0; padding-left:5px;">
                                <asp:Label ID="lbl_b_modeofdelivery" runat="server" Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                        </tr>
                         <tr>
                            <td style="border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                Vehicle No&nbsp;
                            </td>
                            <td style=" border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0; padding-left:5px;" valign="top">
                                <asp:Label ID="lbl_b_vehicleno" runat="server"  Font-Bold="True"></asp:Label>&nbsp;
                            </td>
                            <td style=" padding-left:5px; border-right: 1px solid #C0C0C0; border-top: 1px solid #C0C0C0;" valign="top">&nbsp;</td>
                            <td style=" padding-left:5px; border-top: 1px solid #C0C0C0;"> &nbsp; </td>
                        </tr>
                    </table>
                    </div>
                    </td>
            </tr>
            <tr>
                <td width="50%" colspan="2" 
                    style="border-style: solid; border-width: 0px 1px 0px 1px; border-color: #C0C0C0; width: 100%">
                    <div id="list_b" runat="server" width="100%">
                    <table id="TblItems_b" runat="server" 
                        style="border-top:1px solid;width:100%; height:95%; border-collapse:collapse; border-top-color: #C0C0C0;">
                                    <%--<tr style="height:5%;">
                                        <th style="border-right:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0; text-align:center; width:4%;">S.No.</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center; width:16%;">Description of Goods</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Quantity</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Rate</th>
                                        <th style="border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;text-align:center;width:10%;">Per</th>
                                        <th style="text-align:center;border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;width:10%;">Amount</th>
                                        <th style="text-align:center;border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;width:10%;">Tax Type</th>
                                        <th style="text-align:center;border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;width:8%;">Tax Rate</th>
                                        <th style="text-align:center;border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;width:10%;">Tax Amount</th>
                                        <th style="text-align:center;width:12%;border-bottom:1px solid #C0C0C0">Total Amount</th>
                                        </tr>--%> 
                                    
                                         
                                </table>
                                </div>
                    <table  id="tabgrandtotal_b" runat="server" width="100%" style=" border-collapse:collapse;">
                                <tr>
                                    <td 
                                        style="text-align:right; border-right:1px solid; width:80%; border-style: solid; border-width: 1px 0px 1px 0px; border-color: #C0C0C0;" 
                                        align="right"><b> Grand Total:</b>
                                    </td>
                                    <td style="text-align:right; border-right:1px solid; width:88%; border-style: solid; border-width: 1px 0px 1px 1px; border-color: #C0C0C0;"><b><asp:Label ID="LblGTotal_b" runat="server"></asp:Label></b></td>
                                    </tr>
                                </table>
                    </td>
            </tr>
             <tr> 
                <td style="width:100%; border-left:1px solid #C0C0C0; border-right:1px solid #C0C0C0;" colspan="2" align="right">
                    E. & O.E
                 </td>
            </tr>
            <tr>
                <td width="50%" valign="top">
                    <table class="style1" style=" border-collapse:collapse;">
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 0px 1px; border-color: #C0C0C0; height:85px; padding-left:5px" 
                                valign="top">
                            
                                <table cellpadding="0" cellspacing="0" class="style1">
                                    <tr>
                                        <td>
                                            Amount Chargeable (in words)
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblamountinwords_b" runat="server" Font-Bold="True" ></asp:Label></td>
                                    </tr>
                                </table>
                            
                                </td>
                        </tr>
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 1px 1px; border-color: #C0C0C0; height:85px; padding-left:5px" 
                                valign="top">
                                <table cellpadding="0" cellspacing="0" class="style1">
                                    <tr>
                                        <td  style="width:50%">Company's VAT TIN
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;
                                            <asp:Label ID="lblcompanyvat_b" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                    <tr>
                                        <td  style="width:50%">Company's Service Tax No.
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblcompanyservicetaxno_b" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                    <%--<tr>
                                        <td  style="width:50%">Buyer's VAT TIN/Sales Tax No.
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblbuyervat" runat="server" ></asp:Label>
                                            </td>
                                    </tr>--%>
                                    <tr>
                                        <td  style="width:50%">Company's PAN
                                            </td>
                                        <td style="width:50%">:&nbsp;&nbsp;<asp:Label ID="lblcompanypan_b" runat="server" ></asp:Label>
                                            </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="50%" style="border-bottom:1px solid #C0C0C0;border-right:1px solid #C0C0C0;">
                    <table style=" border-collapse:collapse; width:100%;">
                        <tr>
                            <td style="border-style: solid; border-width: 0px 0px 0px 0px; border-color: #C0C0C0; height:85px; padding-left:5px">                            
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td style="border-style: solid; border-width: 1px; border-color: #C0C0C0; border-bottom:0px;border-right:0px; height:84px; padding-left:5px">
                                <table cellpadding="0" cellspacing="0"  style="height: 60px">
                                    <tr>
                                        <td align="right" valign="top" style="padding-right:5px">&nbsp;
                                            <asp:Label ID="lblcompany_b" runat="server" ></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="bottom" style="padding-right:5px">
                                            Authorised Signatory</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr><td colspan="2" width="100%"  align="center" style="border:1px solid #C0C0C0; border-top:0px;">This is a Computer Generated Purchase Order</td></tr>
        </table>
    </asp:Panel>
   </form>
</body>
</html>
